@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="budgetInfoForm">

            <div class="row">
                <div class="col-sm-6 b-r">
<!--                            <#input id="id" name="预算id" underline="true"/>-->
<!--                            <#input id="accountid" name="账户id" underline="true"/>-->
<!--                            <#input id="budgetkind" name="预算类型" underline="true"/>-->
<!--                            <#input id="createtime" name="创建时间"/>-->


                    <input id="accountid" name="账户id" value="0" type="hidden" underline="true"/>
                    <#select id="budgetkind" name="预算类型" underline="true" >
                        @for(items in classifications){
                        <option value="${items.classcode}">${items.name}</option>
                        @}
                    </#select>
                    <#input id="budgetmoney" name="预算金额" underline="true"/>
                    <#input id="remark" name="备注" underline="true"/>
                </div>

                <div class="col-sm-6">
<!--                            <#input id="updatetime" name="更新时间" underline="true"/>-->
<!--                            <#input id="spare1" name="空闲字段1" underline="true"/>-->
<!--                            <#input id="spare2" name="空闲字段2" underline="true"/>-->
<!--                            <#input id="spare3" name="空闲字段3" underline="true"/>-->
<!--                            <#input id="updateid" name="更新人id" underline="true"/>-->

<!--                    <#input id="startime" name="开始时间" underline="true"/>-->
<!--                    <#input id="endtime" name="结束时间" underline="true"/>-->

                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="BudgetInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="BudgetInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/budget/budget/budget_info.js"></script>
<script>
    laydate.render({
        elem:'#startime',trigger:'click',type:'datetime'
    }),
    laydate.render({
        elem:'#endtime',trigger:'click',type:'datetime'
    })
</script>
@}
